﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HidesaburoDotNET.Core.Detecctors
{
    public class HonrotoDetector : YakuDetector
    {
        public override Yaku CheckYaku(AgariTehai agariTehai)
        {
            foreach (Hai h in agariTehai.Hai)
            {
                if (!h.Yaochupai)
                    return new Yaku();
            }
            return new Yaku(4, "ホンロートー");
                    
        }
    }
}
